package sicnu.cs.ich.api.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import sicnu.cs.ich.api.common.annotations.transaction.EncryptTransaction;
import sicnu.cs.ich.api.common.annotations.transaction.SensitiveData;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@SensitiveData
public class UserVo implements Serializable {
    private Integer id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 电话
     */
    @EncryptTransaction
    private String mobile;

    /**
     * 邮箱
     */
    @EncryptTransaction
    private String email;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 认证状态
     */
    private String certified;

    /**
     * 性别
     */
    private Integer gender;
    /**
     * 是否被锁定
     */
    private Integer lockState;

}
